<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<style type="text/css">
table{
	width: 800px;
	border-collapse: collapse;
}
td,th{
	padding: 8px 15px;
	text-align: center;
}
</style>
<table border="1">
		<tr>
			<th>学号</th>
			<th>姓名</th>
			<th>成绩</th>
		</tr>
		<c:forEach items="${grades}" var="g">
			<tr>
				<td>${g.student.stuNo }</td>
				<td>${g.student.name }</td>
				<td><input type="text" value="${g.grade}" onchange="cjChange(${g.id },this.value)"></td>
			</tr>
		</c:forEach>
	</table>
